<template>
	<view class="beijingse">
		<!-- 分享商品 -->
		<u-popup :show="hbshow" @close="hbclose" mode="center">
			<view class="dingwei">
				<view class="flexright" style="margin-right: 70rpx;">
					<image class="guanbi" src="../static/image/system/gb.png" mode=""></image>
				</view>
				<view class="flexcenter">
					<view class="radius ffffff" style="width: 80%;">
						<image class="sptp" src="../static/image/system/zybjt.png" mode=""></image>
						<view class="mainpadding flexbetween">
							<view class="" style="width: 70%;">
								<view class="ershiba fonweight">洋河 海之蓝 绵柔浓香型白酒 42度 480ml*2瓶 </view>
								<view class="sanshi xiaohong">￥
									<text class="sishi xiaohong fonweight">380</text>
								</view>
								<view class="xiaohui smalltext margin_top1">已售200万件</view>
							</view>
							<view class="">
								<image class="erwwim" src="../static/image/system/zybjt.png" mode=""></image>
								<view class="xiaohui smalltext margin_top1">长按识别二维码</view>
							</view>
						</view>
					</view>
				</view>
				<view class="flexcenter margin_top">
					<view class="bcbtn flexcenter">
						<view class="margin_right2">
							<u-icon name="download" color="#FFFFFF" size="28"></u-icon>
						</view>
						<view class="xiaobai sanshier">保存到相册</view>
					</view>
				</view>
			</view>
		</u-popup>
		<!--配送说明  -->
		<u-popup :show="psshow" @close="psclose" :round="10">
			<view class="mainpadding ffffff " style="border-radius: 20rpx 20rpx 0 0;">
				<view class="sanshier textcenter fonweight">配送说明</view>
				<view class="margin_top xiaohui strongtext">
					1、商家设定配送范围内的收货地址均不收取运费；
					2、设定配送范围内的收货地址均不收；
					3、商家设定配送范围内商家商家的地址均收货地址均不收；
					4、商家设定配送范围内的收货地址均不收取运费；
					5、设定配送范围内的收货地址均不收；
				</view>
				<view class="sanshier textcenter margin_top5" @click="psclose">关闭</view>
			</view>
		</u-popup>
		<view class="" style="padding-bottom: 150rpx;">
			<view class="dingwei">
				<u-swiper :list="list1" height="375"></u-swiper>
				<view class="flexleft" style="position: absolute;
				top: 30rpx;right: 30rpx;">
					<view class="">
						<u-icon name="star" color="#fff" size="28"></u-icon>
					</view>
					<view class="" @click="hbshow = true">
						<u-icon name="share" color="#fff" size="28"></u-icon>
					</view>
				</view>
			</view>
			<!-- 商品信息 -->
			<view class="mainpadding">
				<view class="flexleft">
					<view class="gutp flexcenter margin_right2">
						<image class="guitp" src="../static/image/system/zybjt.png" mode=""></image>
					</view>
					<view class="smalltext xiaohei margin_right2">4款<br>可选</view>
					<image v-for="item in 3" class="guitpd margin_right2" src="../static/image/system/zybjt.png"
						mode=""></image>
				</view>
				<view class="ershiba xiaohong fonweight margin_top2">￥
					<text class=" xiaohong fonweight" style="font-size: 48rpx;">380</text>
				</view>
				<view class="xiaohei fonweight sanshier margin_top1">洋河 海之蓝 绵柔浓香型白酒 42度 480ml*2瓶 礼盒装</view>
				<view class="xiaohui smalltext margin_top1">已售200万件</view>
				<!-- 服务信息 -->
				<view class="radius mainpadding margin_top ffffff">
					<view class="flextop" @click="psshow = true">
						<view class=" ershiba" style="color:#7A7C94 ;">配送</view>
						<view class="flexbetween xiahuaxian" style="width: 70%;">
							<view class=" ershiba">1-3个工作日</view>
							<u-icon name="arrow-right" color="#CCCCCC"></u-icon>
						</view>
					</view>
					<view class="flextop margin_top">
						<view class=" ershiba" style="color:#7A7C94 ;">运费</view>
						<view class="flexbetween xiahuaxian" style="width: 70%;">
							<view class=" ershiba">已包邮</view>
							<u-icon name="arrow-right" color="#CCCCCC"></u-icon>
						</view>
					</view>
					<view class="flextop margin_top">
						<view class=" ershiba" style="color:#7A7C94 ;">说明</view>
						<view class="flexbetween xiahuaxian" style="width: 70%;">
							<view class=" ershiba">包邮包税·正品保障·不支持开发票</view>
							<u-icon name="arrow-right" color="#CCCCCC"></u-icon>
						</view>
					</view>
					<view class="flextop margin_top">
						<view class=" ershiba" style="color:#7A7C94 ;">服务信息</view>
						<view class="flexbetween" style="width: 70%;">
							<view class=" ershiba">这里是服务信息</view>
							<u-icon name="arrow-right" color="#CCCCCC"></u-icon>
						</view>
					</view>
				</view>
				<!-- 评价 -->
				<view class="ffffff mainpadding radius margin_top">
					<view class="flexbetween" @click="jumper('/pages_homepage/shangppingj')">
						<view class="flexleft">
							<view class="line margin_right1"></view>
							<view class="sanshier fonweight xiaohei">精选点评（256）</view>
						</view>
						<u-icon name="arrow-right" color="#CCCCCC"></u-icon>
					</view>
					<view class="flextop margin_top">
						<image class="touxiang" src="../static/image/system/vs.png" mode=""></image>
						<view class="" style="width: 86%;">
							<view class="flexbetween">
								<view class="">
									<view class="ershiba">张三</view>
									<view class="flexleft margin_top1">
										<view class="margin_right1">
											<u-icon name="star-fill" color="#2361FF"></u-icon>
										</view>
										<view class="margin_right1">
											<u-icon name="star-fill" color="#F6F9FE"></u-icon>
										</view>
										<view class="smalltext xiaohui">中等满意</view>
									</view>
								</view>
								<view class="smalltext xiaohui">2020-12-14</view>
							</view>
							<view class="ershil margin_top2">很满意很满意很满意很满意！！！</view>
							<view class="flexleft flex_wrap">
								<view class="flexcenter sanshis margin_top2" v-for="item in 3">
									<image class="pjtp" src="../static/image/system/zybjt.png" mode="" ></image>
								</view>
							</view>
						</view>
					</view>
				</view>
				<!-- 商品详情 -->
				<view class="ffffff mainpadding radius margin_top">
					<view class="flexleft">
						<view class="line margin_right1"></view>
						<view class="sanshier fonweight xiaohei">商品详情</view>
					</view>
				</view>
			</view>
		</view>
		<!-- 固定顶部 -->
		<view class="ffffff mainpadding radius flexbetween gudingdb">
			<view class="flexleft">
				<view class="margin_right4">
					<view class="">
						<u-icon name="kefu-ermai" color="#7A7C94" size="28"></u-icon>
					</view>
					<view class="smalltext xiaohui textcenter">客服</view>
				</view>
				<view class="">
					<!-- 未收藏 -->
					<view class="">
						<u-icon name="star" color="#7A7C94" size="28"></u-icon>
					</view>
					<!-- 已收藏 -->
					<!-- <view class="">
						<u-icon name="star-fill" color="#7A7C94" size="28"></u-icon>
					</view> -->
					<view class="smalltext xiaohui textcenter">收藏</view>
				</view>
			</view>
			<view class="flexleft">
				<view class="xlbtn flexcenter">加入购物车</view>
				<view class="ljbtn flexcenter" @click="tzqdd">立即购买</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				list1: [
					'https://cdn.uviewui.com/uview/swiper/swiper1.png',
					'https://cdn.uviewui.com/uview/swiper/swiper2.png',
					'https://cdn.uviewui.com/uview/swiper/swiper3.png',
				],
				hbshow: false, //海报
				psshow: false, //配送
			}
		},
		methods: {
			// 跳转确认订单
			tzqdd(){
				uni.navigateTo({
					url:'/pages_homepage/querendd'
				})
			},
			jumper(url) {
				uni.navigateTo({
					url: url
				})
			},
			// 配送
			psclose() {
				this.psshow = false
			},
			// 海报
			hbclose() {
				this.hbshow = false
			}
		}
	}
</script>

<style lang="scss" scoped>
	.pjtp{
		width: 160rpx;
		height: 160rpx;
		background: #FBFCFF;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
	}
	.bcbtn {
		width: 330rpx;
		height: 104rpx;
		background: #2361FF;
		border-radius: 184rpx 184rpx 184rpx 184rpx;
	}

	.guanbi {
		width: 50rpx;
		height: 101.66rpx;
	}

	.erwwim {
		width: 140rpx;
		height: 140rpx;
	}

	.sptp {
		width: 600rpx;
		height: 600rpx;
		border-radius: 20rpx 20rpx 0 0;
	}

	/deep/.u-popup__content {
		background-color: rgba(0, 0, 0, .01) !important;
	}

	.ljbtn {
		width: 216rpx;
		height: 80rpx;
		background: #2361FF;
		border-radius: 0rpx 245rpx 245rpx 0rpx;
		font-size: 28rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		color: #FFFFFF;
	}

	.xlbtn {
		width: 216rpx;
		height: 80rpx;
		background: rgba(35, 97, 255, 0.1);
		border-radius: 44rpx 0rpx 0rpx 44rpx;
		font-size: 28rpx;
		font-family: PingFang SC, PingFang SC;
		font-weight: 400;
		color: #2361FF;
	}

	.line {
		width: 8rpx;
		height: 30rpx;
		background: linear-gradient(180deg, #2361FF 0%, #FFFFFF 100%);
	}

	.touxiang {
		width: 80rpx;
		height: 80rpx;
		border-radius: 50%;
	}

	.guitpd {
		width: 80rpx;
		height: 80rpx;
		border-radius: 5rpx;
	}

	.guitp {
		width: 68rpx;
		height: 68rpx;
		border-radius: 5rpx;
	}

	.gutp {
		background: #FFFFFF;
		border-radius: 15rpx 15rpx 15rpx 15rpx;
		padding: 8rpx;
		border: 1rpx solid #2361FF;
	}
</style>